package com.v.im.businessservice.controller;

import com.v.im.businessapi.api.ImUserFriendServiceAPI;
import com.v.im.businessapi.api.ImUserInfoServiceAPI;
import com.v.im.businessapi.dto.paramDTO.ImUserParamDTO;
import com.v.im.businessapi.dto.resultDTO.ImFriendGroupResultDTO;
import com.v.im.businessapi.dto.resultDTO.ImUserResultDTO;
import com.v.im.businessservice.bean.ImUserEntity;
import com.v.im.businessservice.controller.base.BaseController;
import org.springframework.beans.BeanUtils;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * @author wym
 * @create 2019-01-30 11:00
 **/
@RestController
public class ImUserFriendController extends BaseController implements ImUserFriendServiceAPI {


    @Override
    public List<ImFriendGroupResultDTO> getUserFriends(String userId) {
        return imUserFriendService.getUserFriends(userId);
    }
}
